package com.sina.weibo;

import android.app.Activity;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.os.Bundle;
import android.os.Handler;
import android.view.KeyEvent;
import android.widget.FrameLayout;

public class SplashActivity extends Activity
{
  public void onConfigurationChanged(Configuration paramConfiguration)
  {
    FrameLayout localFrameLayout = (FrameLayout)findViewById(2131624120);
    if (paramConfiguration.orientation == 1)
      localFrameLayout.setBackgroundResource(2130838062);
    while (true)
    {
      super.onConfigurationChanged(paramConfiguration);
      return;
      if (paramConfiguration.orientation != 2)
        continue;
      localFrameLayout.setBackgroundResource(2130838063);
    }
  }

  protected void onCreate(Bundle paramBundle)
  {
    super.onCreate(paramBundle);
    setContentView(2130903080);
    FrameLayout localFrameLayout = (FrameLayout)findViewById(2131624120);
    if (getResources().getConfiguration().orientation == 1)
      localFrameLayout.setBackgroundResource(2130838062);
    while (true)
    {
      Handler localHandler = new Handler();
      SplashActivity.1 local1 = new SplashActivity.1(this);
      boolean bool = localHandler.postDelayed(local1, 2000L);
      return;
      localFrameLayout.setBackgroundResource(2130838063);
    }
  }

  public boolean onKeyDown(int paramInt, KeyEvent paramKeyEvent)
  {
    if (4 == paramInt);
    boolean bool;
    for (int i = 1; ; bool = super.onKeyDown(paramInt, paramKeyEvent))
      return false;
  }
}